import Vue from 'vue'
import Router from 'vue-router'
import checkCSV from '@/components/checkCSV/checkCSV'
import chooseCSV from '@/components/checkCSV/chooseCSV'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'landing-page',
      component: require('@/components/mainPage/mainPage').default
    },
    {
      path: '/checkCSV',
      name: 'checkCSV',
      component: checkCSV
    },
    {
      path: '/chooseCSV',
      name: 'chooseCSV',
      component: chooseCSV
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
